import { createApp } from 'vue'
import App from './App.vue'

import components from '@/components/UI'
import apolloProvider from './apollo_client.conf'

const app = createApp(App)

components.forEach((component) => {
  app.component(component.name, component)
})

app
  .use(apolloProvider)
  .mount('#app')
